Skip to content
This repository was archived by the owner on Apr 16, 2026. It is now read-only.

updated to latest poseidon-hs#38

Merged
stschiff merged 9 commits intomainfrom
prepare_for_monorepo_inclusion
Mar 17, 2026
Merged

updated to latest poseidon-hs#38
stschiff merged 9 commits intomainfrom
prepare_for_monorepo_inclusion

Conversation

@stschiff
Copy link
Copy Markdown
Member

@stschiff stschiff commented Feb 13, 2026

This is a first attempt to update the code-base to poseidon-hs-1.6.9.1 and stackage lts-22.43.

@nevrome needs to definitely review and maybe also extend AdmixPops. Right now I do not support VCF writing, which would be very easy to implement, but I failed to do it because the current writeVCF API from poseidon-hs requires a Janno file (so that the VCF writing can write out group names and sex). Perhaps we should change the writeVCF API to make this simpler and not dependent on Janno. Another thing is that I currently do not output a SNpSET with AdmixPops. This could be changed, since the input SNP sets are known. But I did not have time to look into the exact machinery of AdmixPops to understand what the input packages exactly are. Maybe you could implement that, @nevrome, based on the Forge codebase, which has all the Snippets necessary here. Same is true for writeVCF.

@codecov
Copy link
Copy Markdown

codecov Bot commented Feb 13, 2026

Codecov Report

❌ Patch coverage is 37.50000% with 5 lines in your changes missing coverage. Please review.
✅ Project coverage is 6.62%. Comparing base (eea43c6) to head (1d5028d).
⚠️ Report is 10 commits behind head on main.

Files with missing lines Patch % Lines
src/Poseidon/Analysis/CLI/FStats.hs 0.00% 4 Missing ⚠️
src/Poseidon/Analysis/Utils.hs 75.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@          Coverage Diff          @@
##            main     #38   +/-   ##
=====================================
  Coverage   6.62%   6.62%           
=====================================
  Files          3       3           
  Lines        528     528           
  Branches       1       1           
=====================================
  Hits          35      35           
  Misses       492     492           
  Partials       1       1           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@stschiff stschiff marked this pull request as ready for review February 22, 2026 15:11
@nevrome
Copy link
Copy Markdown
Member

nevrome commented Feb 23, 2026

I think this is all OK. As long as the compiler is happy, I'm as well.

I opened #39 to address what you mentioned above. I don't think the snpSet is important here, but vcf writing could be useful. Would it be OK to just go diploid by default?

@stschiff
Copy link
Copy Markdown
Member Author

stschiff commented Mar 5, 2026

OK, so this now includes #39. It compiles. I've bumped the version and edited the Changelog. When you're back at work @nevrome feel free to take a final look.

@nevrome nevrome self-requested a review March 16, 2026 05:13
@stschiff stschiff merged commit 1864107 into main Mar 17, 2026
4 checks passed
@nevrome nevrome deleted the prepare_for_monorepo_inclusion branch March 18, 2026 02:28
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants